package com.bkgy.modular.tbPdiQualityRecordC642.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bkgy.modular.tbPdiQualityRecordC642.entity.ExportLedgerPlan;
import com.bkgy.modular.tbPdiQualityRecordC642.entity.LedgerPlan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LedgerPlanMapper extends BaseMapper<LedgerPlan> {

    List<LedgerPlan> findByLedgerPlanData (
            @Param("pageIndex") Integer pageIndex,
            @Param("pageSize") Integer pageSize,
            @Param("condition") Object condition);

    Integer findByLedgerPlanDataCount(@Param("condition") Object condition);

    List<ExportLedgerPlan> findExportData(List<String> coilIds);



}
